﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SX.BaseService.Repository.Entity
{
    ///<summary>
    ///系统用户表
    ///</summary>
    [SugarTable("SysUser")]
    public partial class SysUserEntity
    {
		/// <summary>
		/// Desc:
		/// Default:
		/// Nullable:False
		/// </summary>           
		[SugarColumn(IsPrimaryKey = true)]
		public string Id { get; set; }
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName { get; set; }

		/// <summary>
		/// 密码
		/// </summary>
		public string Password { get; set; }

		/// <summary>
		/// 真实姓名
		/// </summary>
		public string TrueName { get; set; }

		/// <summary>
		/// 电话
		/// </summary>

		public string Phone { get; set; }

		/// <summary>
		/// 状态
		/// </summary>

		public int Status { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>

		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>

		public int Deleted { get; set; }

		/// <summary>
		/// 性别
		/// </summary>

		public int Sex { get; set; }

		/// <summary>
		/// 地址
		/// </summary>

		public string Adress { get; set; }

		/// <summary>
		/// 头像url
		/// </summary>

		public string HeadPic { get; set; }

		/// <summary>
		/// 上次登录时间
		/// </summary>

		public DateTime? UpLoginDate { get; set; }

		/// <summary>
		/// 备注
		/// </summary>

		public string Remarks { get; set; }
		/// <summary>
		/// 邮箱
		/// </summary>
		public string Email { get; set; }

		[SugarColumn(IsIgnore =true)]
		public string OrganizeId { get; set; }
		///// <summary>
		///// 关联角色
		///// </summary>
		[SugarColumn(IsIgnore = true)]
		public string Roles { get; set; }
		[SugarColumn(IsIgnore = true)]
		public string OrgName { get; set; }
	}
}
